package com.twu.biblioteca.domain;

public class Book {
    private String title;
    private boolean isReserved;


    public Book(String title){
        this.title = title;
        this.isReserved = false;
    }

    public String getTitle() {
        return title;
    }

    public boolean isReserved() {
        return isReserved;
    }

    public void setReserved(boolean reserved) {
        isReserved = reserved;
    }

    @Override
    public String toString(){
        return this.title;
    }
}
